package org.hxyjs.dao;

import org.hxyjs.entity.ChatAdmin;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface ChatAdminDao {
    public List<ChatAdmin>  getAllChatAdmins()  throws Exception;
    public ChatAdmin  getChatAdminByUno(String uno)  throws Exception;
    public List<ChatAdmin> getChatAdminsByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteChatAdmin(String uno)  throws Exception;
    Integer updateChatAdmin(ChatAdmin chatadmin)  throws Exception;
    Integer addChatAdminByUno(ChatAdmin chatadmin)  throws Exception;

    ChatAdmin getChatAdminsWithOrders(String uno)throws Exception;

    ChatAdmin getAccountByAccountName(String uno)throws Exception;



}
